<p>
  <b>Title:</b>
  <span><%=h @post.title %></span>
</p>

<p>
  <b>Body:</b>
  <span><%=h @post.body %></span>
</p>

<p>
  <b>Published:</b>
  <span><%=h @post.published %></span>
</p>


<%= link_to 'Edit', edit_post_path(@post) %> |
<%= link_to 'Back', posts_path %> |
<%= link_to 'Comments', post_comments_path(@post) %>